import "./app.scss";
import React, { Suspense, lazy ,useEffect} from "react";

const Login = lazy(() => import("./pages/Login/index"));
// const About = lazy(() => import("./routes/About"));

let App = props => {
//  let Show= props.children.map(i=>i.key)
//  console.log(Show);
  return <Suspense fallback={<div>Loading...</div>}>{props.children}</Suspense>;
};

export default App;
